import thenFs from 'then-fs'
async function fn() {
    try {
    const str1 = await thenFs.readFile('./txt/a.txt', 'utf8')
    console.log(str1);
    const str2 = await thenFs.readFile('./txt/b.txt', 'utf8')
    console.log(str2);
    const str3 = await thenFs.readFile('./txt/c.txt', 'utf8')
        console.log(str3);
    } catch (e) {
        console.log('文件错误:' + e.message);
    } finally {
        console.log('有无错误都执行');
    }
}
fn()